package com.spring.lo.framework.core.io;

import java.io.IOException;
import java.io.InputStream;

/**
 * UrlPath资源对象
 * @author zhangbh
 * 2023-05-28 14:34
 **/
public class UrlPathResource implements Resource {

    private final String location;

    public UrlPathResource(String location) {
        this.location = location;
    }

    @Override
    public InputStream getInputStream() throws IOException {
        throw new UnsupportedOperationException("简化版不实现");
    }
}
